package be.novelfaces.showcase.webdriver.util;

import be.novelfaces.showcase.webdriver.pages.documentation.DocumentationPage;
import be.novelfaces.showcase.webdriver.pages.download.DownloadPage;
import be.novelfaces.showcase.webdriver.pages.home.HomePage;
import be.novelfaces.showcase.webdriver.pages.input.InputTextPage;
import be.novelfaces.showcase.webdriver.pages.numpaddecsep.NumpadDecSepPage;
import be.novelfaces.showcase.webdriver.pages.panel.PanelPage;

public class Navigator {
	
	public NumpadDecSepPage gotoNumpadDecSepPage() {
		return new HomePage().assertArrivedAt().getNavigation().gotoNumpadDecSepPage();
	}
	
	public InputTextPage gotoInputTextPage() {
		return new HomePage().assertArrivedAt().getNavigation().gotoInputTextPage();
	}
	
	public PanelPage gotoPanelPage() {
		return new HomePage().assertArrivedAt().getNavigation().gotoPanelPage();
	}
	
	public DownloadPage gotoDownloadPage() {
		return new HomePage().assertArrivedAt().getHeader().getHeaderToolbar().gotoDownloadPage();
	}
	
	public DocumentationPage gotoDocumentationPage() {
		return new HomePage().assertArrivedAt().getHeader().getHeaderToolbar().gotoDocumentationPage();
	}

}
